home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / utility / utilgraf / newicndt.lha / NewIconDT / NewIconDT.doc < prev    next >
Text File  |  1980-01-01  |  4KB  |  127 lines

  1.  
  2.  
  3.  
  4.             »»» NewIcon DataType «««
  5.  
  6.              Version 39.0 (23.10.96)
  7.  
  8.  
  9.  
  10.  
  11.  
  12. COPYRIGHT NOTE
  13. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  14.    This product is freeware, do what you want with it.
  15.    The source code remains copyrighted but is freely distributable and
  16.    modifiable.
  17.  
  18.  
  19.  
  20. DISCLAIMER
  21. ¯¯¯¯¯¯¯¯¯¯
  22.    No warranties of any kind are made as to the functionality of this
  23.    program. You are using it at your own risk.
  24.  
  25.  
  26.  
  27. SYSTEM REQUIREMENTS
  28. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  29.    o OS3.0 or higher
  30.    o The NewIcons package by Nicola Salmoria (see Aminet)
  31.  
  32.  
  33.  
  34. INSTALLATION
  35. ¯¯¯¯¯¯¯¯¯¯¯¯
  36.    Copy Devs/Datatypes/NewIcon#? SYS:Devs/Datatypes/
  37.    Copy Classes/Datatypes/newicon.datatype SYS:Classes/Datatypes/
  38.    Copy NewIcon.prefs ENVARC:DataTypes/
  39.    Copy NewIconToILBM C:
  40.  
  41.    Now reboot your machine or type "AddDatatypes REFRESH" in a shell.
  42.  
  43.  
  44.  
  45. FEATURES
  46. ¯¯¯¯¯¯¯¯
  47.    This datatype will load 'NewIcon' icons. So you can convert them to
  48.    any (IFF ILBM) file format, to be able to edit them.
  49.  
  50.    This datatype is a replacement for the old and buggy program
  51.    'NewIconToBrush'.
  52.  
  53.    You can control some features with a prefs file. This file is named
  54.    ENV:DataTypes/NewIcon.Prefs .
  55.    Every line starting with ; # or * is considered a comment. All others
  56.    lines are parsed for the parameters listed below. You can specify the
  57.    parameters on several lines or on the same line by separating them by
  58.    spaces.
  59.  
  60.     NOBORDER/S    Don't draw the border around images.
  61.     NONORMAL/S    Don't include the normal state image.
  62.     NOSELECTED/S    Don't include the selected state image.
  63.     XOFFSET/N    Defines the number of pixels between the horizontal
  64.             borders and the images. Default to 2.
  65.     YOFFSET/N    Defines the number of pixels between the vertical
  66.             borders and the images. Default to 2.
  67.     BORDERPEN/N    The pen number used to draw the border. Default
  68.             to 1.
  69.     COLORMAP    A picture filename containing a colormap. The
  70.             images will be remaped to this colormap. Defaults
  71.             to the colormap of the icon.
  72.  
  73.  
  74.  
  75.    Actually the recognation of icon file is the same as the 'icon datatype',
  76.    thus you can't use both at the same time. The next version should fix this.
  77.  
  78.  
  79.    For those of you who liked the shell conversion tool (NewIconToBrush), you
  80.    can use DT2IFF by Markus Hillenbrand (Aminet:gfx/conv/dt2iff.lha) to
  81.    achieve this. An AmigaDOS script is provided here (NewIconToILBM) to do
  82.    this job.
  83.    The template is : FROM/A,TO/A,NOBORDER/S,NONORMAL/S,NOSELECTED/S,
  84.                      XOFFSET,YOFFSET,BORDERPEN,COLORMAP
  85.    Where FROM is the filename of the icon (with the .info), TO is the
  86.    destination directory where to store the IFF file (a .IFF will be added).
  87.    All others parameters are the same as for the prefs file. Notice that if
  88.    you don't specify any of those, the standard prefs file will be used, but
  89.    starting from one parameters specified the standard prefs file is ignored.
  90.  
  91.  
  92.  
  93. HISTORY
  94. ¯¯¯¯¯¯¯
  95.    Back in January 1995, I made a program called 'NewIconToBrush' to convert
  96.    NewIcon icons to IFF ILBM. This program was a hack and the system had
  97.    some weird behavior after using it. I made a new version (no more a hack)
  98.    but it still had some enforcer hits (reported by one of you). Then I
  99.    decided to rewrite it in C (yes it was in assembler !), but my mind just
  100.    worked faster, why not make a DataType ? There are multiple programs out
  101.    there to convert from DT to DT. So here it is.
  102.  
  103.    39.0       23-Oct-96    Initial release.
  104.  
  105.  
  106.  
  107. AUTHOR
  108. ¯¯¯¯¯¯
  109.         Pascal Hurni
  110.         Av. Cressire 14
  111.         CH-1814 La Tour-de-Peilz
  112.         Switzerland
  113.  
  114.         or
  115.  
  116.         E-Mail: phurni@cyber.ch
  117.  
  118.  
  119.  
  120. THANKS
  121. ¯¯¯¯¯¯
  122.    Many thanks to the 'NewIcons' team for providing us a so cool system.
  123.    Thanks must go to David N.Junod ( BMPdt from the 3.1 NDK ) and
  124.    Christian Buchner ( AOM_RAWdt ) for the original datatype source code.
  125.  
  126.  
  127.